package com.fumin.service;

import com.fumin.mapper.InvestmentRecordMapper;
import com.fumin.pojo.Capital;
import com.fumin.pojo.Projects;
import com.mashape.unirest.http.exceptions.UnirestException;
import org.web3j.crypto.CipherException;

import java.io.IOException;
import java.util.concurrent.ExecutionException;

/**
 * Created by Lingo on 2018/3/8.
 */

public interface InvestmentRecordService extends InvestmentRecordMapper{

   String transaction(Capital capital, Projects projects, String amount);
   String withdraw(String amount,String destinationAddr,Capital capital );
   String withdraw(String hx );
   public String commitTransaction(String hexValue);
}
